<?php
ob_start();
set_magic_quotes_runtime(1);
session_start();
include("UserIncludes/DbConfig.php");
$query="select * from adspace_landing_page where landingId='".$_REQUEST['id']."'" ;
//echo $query;
$rec=mysql_fetch_array(mysql_query($query)) ;
//echo "<pre>";
//print_r($rec);
//echo "</pre>";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php echo $rec[pageTitle];?></title>
		<link rel="stylesheet" href="../css/style.css" type="text/css" />
	</head>
	<body>
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td valign="top" align="center">
					<table width="40%" cellspacing="0" cellpadding="0" style="border:1px solid gray;  ">
						<tr>
							<td>
								<table width="100%" cellspacing="0" cellpadding="0" border="0">
									<tr>
										<td align="center">
											<table width="100%" cellspacing="0" cellpadding="0" border="0">
												<tr>
													<td bgcolor="Silver" height="25">
														<div id="site_title_show">&nbsp;&nbsp;&nbsp;<?php
																echo $rec['pageName'];
															?>
														</div>
													</td>
												</tr>
												<tr>
													<TD align="center" style="padding-top:10px;">
														<div id="images_container" style="width:260px;" class="radiotxt">&nbsp;<br/>
															<img src="advertise/<?php echo $rec['images']; ?>">
														</div>
													</TD>
												</tr>
												
												<tr>
													<td align="center">
														<span id="site_headline_final"><strong>
														<?php
																echo $rec['headline'];
														?></strong>
														</span>
													</td>
												</tr>
												<tr>
													<td align="center" style="padding-top:10px;">
														<span id="description_final">
														<?php
																echo $rec['details'];
														?>
														</span>
													</td>
												</tr>
												<tr >
													<td align="center" style="padding-top:10px;padding-bottom:10px;">
														<span id="lead_generation_final"><?php
																echo $rec['lead_generation'];
															?>
														</span>
													</td>
												</tr>
												<!--
												<tr><TD align="center"><input type="text" name="value_code" disabled="disabled"></TD></tr>
												<tr><TD align="center" style="padding-top:5px;"><input type="submit" name="value_code" disabled="disabled" value="submit"></TD></tr>
												-->
											</table>
											<br>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		
	</body>
</html>